package cn.group01.git.service;

import cn.group01.git.common.ResponseResult;
import cn.group01.git.dto.GoodsPageDTO;
import cn.group01.git.entity.Goods;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;
import java.util.List;
/**
 * @description:
 * @author: 笪志林
 * @date: 2023/7/13 15:52
 **/
public interface GoodsService {
    ResponseResult getList(GoodsPageDTO goodsPageDTO);

    ResponseResult batchAdd(MultipartFile file);

    void export(String supName, HttpServletResponse response);

    ResponseResult batchDelete(Integer[] ids);

    ResponseResult editGoods(Goods goods);

    Goods getByGoodsName(String goodsName);

    ResponseResult addGoods(Goods goods);

    List<Goods> selectGoodsName();

}
